<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<c:if test="${!empty userActives}">
	<h1>User Actives</h1>
	
	<table class="table table-hover">
		<tr>
			<th>User</th>
			<th>Name service</th>
			<th>Description service</th>
			<th>Action</th>
		</tr>
		<c:forEach items="${userActives}" var="userActive">
			<tr>
				<td>${userActive.user.firstname}${subscribe.user.lastname}</td>
				<td>${userActive.service.nameService}</td>
				<td>${userActive.service.description}</td>
				<td><a class="btn btn-danger"
					href='<c:url value="/history/delete/${userActive.id}"></c:url>'>
						Delete</a></td>

			</tr>
		</c:forEach>
	</table>
</c:if>
<br />